#include "StdAfx.h"
#include "Server.h"
#include "SetServerPortDlg.h"

CSetServerPortDlg::CSetServerPortDlg(CWnd* pParent)
:CDialog(CSetServerPortDlg::IDD,pParent)
{
	m_nServerPort=1080;
}

CSetServerPortDlg::~CSetServerPortDlg(void)
{
}

void CSetServerPortDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CSetServerPortDlg)
	DDX_Text(pDX, IDC_EDIT_SETPORT, m_nServerPort);
	DDV_MinMaxInt(pDX, m_nServerPort, 0, 65536);
	//}}AFX_DATA_MAP
}

BEGIN_MESSAGE_MAP(CSetServerPortDlg, CDialog)
	//{{AFX_MSG_MAP(CSetServerPortDlg)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()